package com.wxapp.pay.api.pojo.pojo.vo.payLogs;

import com.wxapp.common.constant.enums.ClientTypeEnum;
import com.wxapp.pay.api.pojo.enums.listener.PayStatusEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author lgl
 */
@Data
public class QBaseVo {
    /**
     * 订单code
     */
    @Schema(description = "订单code")
    private String orderCode;
    /**
     * 三方code
     */
    @Schema(description = "三方code")
    private String payCode;
    /**
     * 价格
     */
    @Schema(description = "价格")
    private BigDecimal price;
    /**
     * 支付状态
     */
    @Schema(description = "支付状态")
    private PayStatusEnum payStatus;
    /**
     * 用户类型
     */
    @Schema(description = "用户类型")
    private ClientTypeEnum userType;
    /**
     * 支付方式
     */
    @Schema(description = "支付方式")
    private String type;
    /**
     * 完成时间
     */
    @Schema(description = "完成时间")
    private LocalDateTime completeTime;

    /**
     * 账户id
     */
    @Schema(description = "账户id")
    private String accountId;
    /**
     * 账户
     */
    @Schema(description = "账户")
    private String account;
    /**
     * 回调地址
     */
    @Schema(description = "回调地址")
    private String serviceBackUrl;
    /**
     * 回调参数
     */
    @Schema(description = "回调参数")
    private String serviceBackData;
    /**
     * 前端回调
     */
    @Schema(description = "前端回调")
    private String frontBackUrl;
    /**
     * 前端回调参数
     */
    @Schema(description = "前端回调参数")
    private String frontBackData;


}
